Skip to the content.

//[](../../../../index.html)/[pro.streem.sdk](../../index.html)/[Streem](../index.html)/[Companion](index.html)

Companion

[androidJvm]
object Companion

Functions

Name Summary
get [androidJvm]
@JvmStatic
fun get(): Streem
Returns the shared Streem instance. Streem.initializeMUST have been called before calling this method.
initialize [androidJvm]
@JvmStatic
fun initialize(configuration: Streem.Configuration): Streem
Initializes the Streem SDK. Should be called in the Application’s onCreate method.
shutdown [androidJvm]
@JvmStatic
fun shutdown()
Shuts down the Streem SDK.

Properties

Name Summary
EXIT_CODE_CALL_REJECTED [androidJvm]
const val EXIT_CODE_CALL_REJECTED: String
The call did not connect because it was rejected by the remote user.
EXIT_CODE_CANCELED [androidJvm]
const val EXIT_CODE_CANCELED: String
The call was ended by the local user before the remote user answered.
EXIT_CODE_ERROR [androidJvm]
const val EXIT_CODE_ERROR: String
There was an unexpected error.
EXIT_CODE_EXIT [androidJvm]
const val EXIT_CODE_EXIT: String
The user exited the Streem experience using the "Exit" button.
EXIT_CODE_HELP [androidJvm]
const val EXIT_CODE_HELP: String
The user exited the Streem experience using the "Help" button.
EXIT_CODE_NOT_ANSWERED [androidJvm]
const val EXIT_CODE_NOT_ANSWERED: String
The call was not answered within the timeout period.
EXTRA_ERROR [androidJvm]
const val EXTRA_ERROR: String
A Serialized Throwable that may be returned if there is an error after starting the Streem experience.
EXTRA_EXIT_CODE [androidJvm]
const val EXTRA_EXIT_CODE: String
Exit code (as a string) from the Streem experience.
EXTRA_JOINED_CALL_TIME [androidJvm]
const val EXTRA_JOINED_CALL_TIME: String
The time that the user taps the Join Now button in the Lobby